package cn.yh.shop.admin.model;

import java.sql.Timestamp;

/**
 * @Description:首页广告类
 * @author:"许荣斐"
 * @time:2016年12月14日 下午6:40:10
 */
public class Advertisement implements java.io.Serializable {

	/**
	 * @Description: id : 广告id
	 */
	private Integer id; 
	/**
	 * @Description: name :广告名
	 */
	private String name; 
	/**
	 * @Description: path : 广告路径
	 */
	private String path; 
	/**
	 * @Description: addAdTime :  广告添加时间
	 */
	private Timestamp addAdTime;
	/**
	 * @Description: goodsId : 商品id
	 */
	private Integer goodsId; 
	/**
	 * @Description: addPeopleName : 添加人姓名
	 */
	private String addPeopleName; 
	/**
	 * @Description: addTime :添加时间
	 */
	private Timestamp addTime;  
	/**
	 * @Description: altPeopleName : 修改人姓名
	 */
	private String altPeopleName; 
	/**
	 * @Description: altTime : 修改时间
	 */
	private Timestamp altTime; 


	/**
	 * @Description:默认构造方法
	 */
	public Advertisement() {
	}

	/**
	 * @Description:带参构造方法
	 * @param name
	 * @param path
	 * @param addAdTime
	 * @param goodsId
	 */
	public Advertisement(String name, String path, Timestamp addAdTime,
			Integer goodsId) {
		this.name = name;
		this.path = path;
		this.addAdTime = addAdTime;
		this.goodsId = goodsId;
	}

	/**
	 * @Description:带参构造方法
	 * @param name
	 * @param path
	 * @param addAdTime
	 * @param goodsId
	 * @param addPeopleName
	 * @param addTime
	 * @param altPeopleName
	 * @param altTime
	 */
	public Advertisement(String name, String path, Timestamp addAdTime,
			Integer goodsId, String addPeopleName, Timestamp addTime,
			String altPeopleName, Timestamp altTime) {
		this.name = name;
		this.path = path;
		this.addAdTime = addAdTime;
		this.goodsId = goodsId;
		this.addPeopleName = addPeopleName;
		this.addTime = addTime;
		this.altPeopleName = altPeopleName;
		this.altTime = altTime;
	}


	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPath() {
		return this.path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public Timestamp getAddAdTime() {
		return this.addAdTime;
	}

	public void setAddAdTime(Timestamp addAdTime) {
		this.addAdTime = addAdTime;
	}

	public Integer getGoodsId() {
		return this.goodsId;
	}

	public void setGoodsId(Integer goodsId) {
		this.goodsId = goodsId;
	}

	public String getAddPeopleName() {
		return this.addPeopleName;
	}

	public void setAddPeopleName(String addPeopleName) {
		this.addPeopleName = addPeopleName;
	}

	public Timestamp getAddTime() {
		return this.addTime;
	}

	public void setAddTime(Timestamp addTime) {
		this.addTime = addTime;
	}

	public String getAltPeopleName() {
		return this.altPeopleName;
	}

	public void setAltPeopleName(String altPeopleName) {
		this.altPeopleName = altPeopleName;
	}

	public Timestamp getAltTime() {
		return this.altTime;
	}

	public void setAltTime(Timestamp altTime) {
		this.altTime = altTime;
	}

}